//package org.sbbs;
//
//import jakarta.persistence.EntityManager;
//import org.sbbs.base.jpa.dao.ExpandRepoFactoryBean;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
//import org.hibernate.search.mapper.orm.Search;
//import org.hibernate.search.mapper.orm.session.SearchSession;
//import org.springframework.transaction.annotation.EnableTransactionManagement;
//
///**
// * <b>描述:</b><br/>
// * <br/>
// * <p>
// * 说明描述用途及关键点,算法等
// * <p>
// * <b>创建时间:</b> 2025年3月20日 12:58:27 <br/>
// * <b>作者:</b> Mr.FDC <fdc_messenger@126.com> <br/>
// *
// * <p>
// * <b>修改记录:</b><br/>
// * <ol>
// * <li>......</li>
// * </ol>
// */
//@EnableJpaRepositories(repositoryFactoryBeanClass = ExpandRepoFactoryBean.class)
//@EnableTransactionManagement
//@Configuration
//public class JpaHibernateCfg {
////    @Autowired
////    EntityManager entityManager;
////
////    @Bean
////    public SearchSession searchSession() {
////        SearchSession searchSession = Search.session(entityManager);
////        return searchSession;
////
////    }
//}
